package com.java1234.dao;

import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;

import com.java1234.model.Borrower;
import com.java1234.model.Librarian;

/**
 * 用户Dao类
 * 
 * @author 15375
 *
 */
public interface ILibrarianDao {
	public Librarian login(Connection con, Librarian liberarian) throws Exception;// 登录验证

	public int add(Connection con, Librarian librarian) throws Exception;// 图书管理员信息增加

	public ResultSet list(Connection con, Librarian librarian) throws Exception;// 图书管理员信息查询

	public int update(Connection con, Librarian librarian) throws Exception;// 图书管理员信息修改

	public int delete(Connection con, String librarianAccount) throws Exception;// 图书管理员信息删除
}
